<?php

namespace app\model;

use think\Model;

class Trademark extends Model
{

    protected $connection = 'mysql';

    protected $pk = 'id';

    protected $name = 'trademark';

    public static function goodsInfo($id)
    {

        $goods = self::find($id);
        if (!empty($goods)) {
            $goods = $goods->toArray();
        }
        return $goods;
    }

}
